#!/bin/bash
if [ $# == 0 ]; then
	echo "you have to give the test path for run!!!";
	exit 1;
fi
testpath=$1;
ls $testpath 1>/dev/null 2>&1;
if [ $? != 0 ]; then
	echo "your test path is not exists";
	exit 1;
fi
scriptpath=`dirname $0`/qstone/core/run.php 
php $scriptpath $testpath -c
